<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<fmt:setBundle basename="ApplicationMessage" />
<fmt:setLocale value="zh_CN" />

<!DOCTYPE html>
<html lang="zh-CN">
<head>

  <%@ include file="/WEB-INF/include/meta.jsp"%>
  <%@ include file="/WEB-INF/include/css.jsp"%>
  
</head>

<body style="min-width:30px;">

  <div class="col-xs-12 col-sm-12 col-md-6 col-md-offset-3 col-lg-6 col-lg-offset-3" style="border:1px solid #ccc;">
     
    <div class="modal-header">
      <h4 class="modal-title">评估问卷</h4>
    </div>
    <c:choose>
      <c:when test="${noData}">
  		  <div class="modal-body">
      		${message}
        </div>
      </c:when>
  	  <c:otherwise>
    
        <form class="form-horizontal ms-form form-personal-info" method="POST" action="${ctx.host}/survey-project-phase" data-validate="true">
         <div class="modal-body">
   			  <input type="hidden" name="projectPhaseId" value="${projectPhaseId}"/><br>
          <div class="row">
  	        <label class="col-xs-12 col-sm-12 col-md-6 col-lg-6">请输入学员邮箱：</label>
	          <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
	          	<input class="form-control" type="text" name="trainee" >
	          </div>
          </div>
  
          <div class="modal-footer" style="margin-top:20px;">
            <button type="submit" class="btn btn-shadow-success btn-shadow umu-btn">确定</button>
            <button type="button" onclick="guanbi()" class="btn btn-shadow-default btn-shadow umu-btn" data-dismiss="modal">取消</button>
          </div>
        </div>
      </form>
    </c:otherwise>
	</c:choose>
    
  </div>
  <script>
  	function guanbi() {
  		window.close();
  	}
  </script>
</body>
</html>